package com.xuecheng.api.content.media;

import com.xuecheng.api.content.media.model.aliyun.VodUploadRequest;
import com.xuecheng.api.content.media.model.aliyun.VodUploadToken;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * <p></p>
 *
 * @Description:
 */
@Api("媒资管服务Api")
public interface AliyunVodApi {

    @ApiOperation("获得媒资文件上传凭证")
    VodUploadToken generateUploadToken(VodUploadRequest request);


    @ApiOperation("刷新媒资文件上传凭证")
    VodUploadToken refreshUploadToken(String videoId);

    @ApiOperation("获得媒资播放地址")
    String getPalyUrlByMediaId(Long mediaId);
}
